<div id="data">
   <?php $this->renderPartial('_ajaxContent', array(
       'myValue'=>$myValue,
       'test'=>$test
           )); ?>
</div>
 
<?php echo CHtml::ajaxButton ("Update data",
                              CController::createUrl('helloWorld/UpdateAjax'), 
                              array('update' => '#data'));
?>


<?php echo CHtml::ajaxLink(
	'Test request',          // the link body (it will NOT be HTML-encoded.)
	array('helloWorld/ReqTest01'), // the URL for the AJAX request. If empty, it is assumed to be the current URL.
	array(
		'update'=>'#req_res'
	)
);
?>

<div id="req_res">...</div>

<div class="form">
<?php echo CHtml::beginForm(); ?>

<div class="row">
<?php echo CHtml::label('Some text', 'some_text'); ?>
<?php echo CHtml::textField('some_text', date('H:i:s')); ?>
</div>

<?php
echo CHtml::ajaxSubmitButton(
	'Submit request',
	array('helloWorld/ReqTest03'),
	array(
		'update'=>'#req_res02',
	)
);
?>

<?php echo CHtml::endForm(); ?>
</div><!-- form -->

<div id="req_res02">...</div>
<?php

$this->widget('bootstrap.widgets.TbButtonGroup', array(
    'buttons'=>array(
	    array('label'=>'Left', 'url'=>'#'),
	    array('label'=>'Middel', 'url'=>'#'),
	    array('label'=>'Right', 'url'=>'#')
    ),
));

?>